package top.mataiji.manager.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Auther: zhaoss
 * @Date: 2021/3/3 - 03 - 03 - 16:49
 * @Description: top.mataiji.manager.controller
 * @version: 1.0
 */
@Controller
public class HelloSpringBoot {

    @RequestMapping("/hello")
    @ResponseBody
    public String hello(){
        return "Hello World";
    }

    @RequestMapping("/")
    @ResponseBody
    public String hello1(){
        return "Hello World";
    }
}
